<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Consulta Cliente</title>
</head>
<body>
<CENTER>
<BR>
<BR><H2>Consulta Cliente</H2>
<BR>
<BR>
<BR>
<form id = "formConsultaCliente" METHOD=POST action="/VideoLocadora/ServletControle">
<table cellspacing="4">
	<tr>
	     <td><INPUT TYPE=HIDDEN NAME=acao VALUE=consultaCliente></td>
	   
	     <td ALIGN=LEFT>CPF: </td>
	     <td><INPUT TYPE=TEXT NAME=cpf VALUE=></td>
		<td></td>
		</tr>
	<tr></tr>
	<tr></tr>
	<tr></tr>
	<tr></tr>
	<tr></tr>
	<tr>
		<td></td>	
		
		<td ALIGN=right><input type="submit" name="consulta" id="consulta" value="Confirma"></td>
		
		<td><input type="Reset" name="limparDados" id="limpar" value="Limpar Dados"> </td>
	</tr>
</table>
</form>
<BR>
<BR>
<BR>
<% String mensagem = (String) request.getAttribute("mensagem");
  
   if(mensagem != null)
     if (mensagem.equals("true"))
          out.println("Cadastro efetivado");
     else
    	  out.println(mensagem);
 %>
<BR>
<BR>
<BR>
</CENTER>
</body>
</html>